/*
* acooly.cn Inc.
* Copyright (c) 2017 All Rights Reserved.
* create by ouwen
* date:2017-09-27
*/
package com.yiji.fintech.musfinance.entity;


import com.acooly.core.common.domain.AbstractEntity;
import com.yiji.fintech.musfinance.base.enums.ElementTypeEnum;
import lombok.Getter;
import lombok.Setter;

import javax.persistence.Entity;
import javax.persistence.EnumType;
import javax.persistence.Enumerated;
import javax.persistence.Table;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;

/**
 * center_sign_info Entity
 *
 * @author ouwen
 * Date: 2017-09-27 15:28:51
 */
@Getter
@Setter
@Entity
@Table(name = "center_sign_info")
public class SignInfo extends AbstractEntity {
	/** serialVersionUID */
	private static final long serialVersionUID = 1L;
	@Size(max=32)
	private String signInfoId;
	/** 银行卡号 */
	@Size(max=32)
    private String accountNo;

	/** 账户 */
	@Size(max=64)
    private String accountName;

	/** 证件号码 */
	@Size(max=36)
    private String certNo;

	/** 电话号码 */
	@Size(max=16)
    private String phoneNo;

	/** 验证要素类型 */
    @Enumerated(EnumType.STRING)
	@NotNull
    private ElementTypeEnum elementType;

	/** EXTEND_FIELDS */
	@Size(max=500)
    private String extendFields;



}
